package pub.developers.forum.domain.repository;

import pub.developers.forum.api.model.PageRequestModel;
import pub.developers.forum.common.model.PageResult;
import pub.developers.forum.domain.entity.Inform;

import java.util.List;

public interface InformRepository {

    void save(Inform inform);

    List<Inform> get(Long id , String type);

    PageResult<Inform> getInforms(PageRequestModel pageRequestModel);

    Long getInformsTotal(PageRequestModel pageRequestModel);
}
